package com.example.utils;

import android.app.Application;
import android.util.Log;

import com.example.android_web_4.R;

/**
 * Created by Administrator on 2017/12/29.
 */

public class MyShareApplication extends Application {

    private static  String basePath="";
    public MyShareApplication(){
    }
    public  String getBasePath() {
        basePath="http://"+getResources().getString(R.string.ipaddress)+":"+getResources().getString(R.string.serverport)+"/" +
                getResources().getString(R.string.project);
        Log.i("BasePath:",basePath);
        return basePath;
    }
}
